package com.bank.seckill.service;

import com.bank.entity.Member;
import com.bank.entity.Seckill;
import com.bank.entity.SeckillLog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author: Lixy
 * @email: 1908598362@qq.com
 * @date: 2022/1/28 星期五 17:49
 */
public interface OrderService extends IService<SeckillLog> {


    SeckillLog SelcetOrderById(String memcardnum);

    SeckillLog SelcetOrderByIdCard(String memcardnum);

    SeckillLog SelcetOrderByName(String name);

    int seckill(Member member, Seckill goods);

    int add(String secId,Long memcardnum,String memId);

    String getResult(Member member, String secid);

    String createPath(Member member,String secid);

    Boolean checkPath(String path,Member member,String secid);


}
